const state = {
  author: {
    // authorImg: '',
    // authorId: 0
  }
}
const mutations = {
  SET_AUTHOR(state, author) {
    state.author = author
  }
}
const actions = {
  setAuthor({ commit }, author) {
    commit('SET_AUTHOR', author)
  }
}
const getters = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}
